package com.xjob.enums;

import lombok.Getter;

@Getter
public enum MessageRemindFrequencyType {
    /**
     * 消息提醒：发送频率
     */
    FREQUENCY_DAY(0, "按天"),
    FREQUENCY_WEEK(1, "按星期"),
    FREQUENCY_MONTH(2, "按月"),
    FREQUENCY_ONCE(3, "一次"),
    FREQUENCY_IN_TIME(4, "即使发送");
    private final int code;
    private final String value;

    MessageRemindFrequencyType(int code, String value) {
        this.code = code;
        this.value = value;
    }
}
